package com.touchfired.server.controller;

import com.touchfired.common.params.GameSpeakParams;
import com.touchfired.common.params.RoomRespInfo;
import org.springframework.web.bind.annotation.*;

/**
 * 游戏 控制器
 * @author 幸佳俊
 */
@RestController
@RequestMapping(value = "/game")
public class GameController {

    @GetMapping(value = "/start")
    public RoomRespInfo start(@RequestParam("roomId") String roomId) {

        // 创建规则

        // 通知规则结果

        // 开始

        return null;
    }

    @PostMapping(value = "/speak")
    public void speak(@RequestBody GameSpeakParams speakParams) {

    }
}
